<?php
defined('IN_MAIN') or exit('Invalid Access!');

function prod_refno_found($refno){
	global $vars;
	$db=$vars["db"];

	return @mysql_num_rows(mysql_query("select * from $db->products where refno='$refno'")) or false;
}
?>